package com.sh.lambda;

/**
 * @Auther: sh
 * @Version 1.0
 * @Description:
 */
public class Demo {
    public static void main(String[] args) {
        Test test = (x, w) ->  1;
        System.out.println(test.getInt(1, 2));

        MyStringFunction myStringFunction = HelloUtil::sayHello;
        myStringFunction.execute();

        MyStringFunction myStringFunction1 = new HelloUtil()::sayGoodBye;
        myStringFunction1.execute();
    }
}

